package com.spsoft.system.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "机构")
public class OrganVo {
    /**
     * 机构编码
     */
    @ApiModelProperty(name = "机构编码 ",notes = "机构编码")
    private String deptCode;
    /**
     * 机构名称
     */
    @ApiModelProperty(name = "机构名称 ",notes = "机构名称")
    private String deptName;
    /**
     * 父机构编码
     */
    @ApiModelProperty(name = "父机构编码 ",notes = "父机构编码")
    private String paraCode;
    /**
     * 下级机构
     */
    @ApiModelProperty(name = "下级机构 ",notes = "下级机构")
    private List<OrganVo> children;
}
